package com.guigu.eduservice.mapper;

import com.guigu.eduservice.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;

import java.util.List;

/**
 * <p>
 * 订单表（存储买卖双方的交易订单信息） Mapper 接口
 * </p>
 *
 * @author Xiaosong
 * @since 2025-10-01
 */
public interface OrderMapper extends BaseMapper<Order> {
    //查询前四个广告
    List<Order> selectFourAdvertisement();
    //根据设备id查询设备信息
    Order selectEquipmentById(Long id);
}
